








x=1.
print(type(x))


isinstance(x,float)


isinstance(x,int)


a='1'
b=1
print(a,b)

a==b





a = 'Guangzhou'
b = 'University'
a+b









a='GuangZhou University'
len(a)


'Zhou' in a



a = 'Guangzhou'
a[5:7]


b = '10	 	*	00 22 37.0	2	+63 52.0	2	110.0	17.0	 	5.4	00 25 25.1	+64 08 36'
deg = b[7:9]
minute = b[10:12]
sec = b[13:17]
print(eval(deg) + eval(minute)/60 + eval(sec)/3600.)





a = 3
b = 4
c = 100
pi = 3.14159265358979
print('%4d%4d' % (a,b))
print('%4d%4d' % (c,c+1))

print('%08.4f' % pi)





import random 

for i in range(100):
    print('%8.3f' % (random.random()*100),end='')
    if ( (i+1) % 10 == 0):
     print()



